using NL;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;

namespace Miya.AM5
{
    public class AM5Action : _ChildOf<AM5>
    {

        public AM5Action Begin()
        {
            return this;
        }
        public AM5Action End()
        {
            return this;
        }

        Action<AM5Action> _ONBegin,_ONEnd;
        public AM5Action Wait(Action<AM5Action> onbegin, Action<AM5Action> onend)
        {
            _ONBegin=onbegin;
            _ONEnd=onend;
            return this;
        }
        Action<AM5Action, string> _ONEvent;
        public AM5Action WaitTimer(string eventname,Action<AM5Action,string> on)
        {
            _ONEvent = on; return this;
        }
    }
}

